/**
 * 作者: wgx
 * 日期: 2024-12-20 10:09:39
 * 备注: 全服荣誉奖励的进度值和达成的玩家
 */
package com.motu.monstercity.server.game.userdata;

import com.motu.monstercity.protocol.Common.PBServerHonor;
import com.motu.monstercity.server.game.logic.GameUser;

public class ServerHonor extends ServerHonorModel {
    public ServerHonor() {
        super();
    }

    public PBServerHonor.Builder takeInitBuilder() {
        PBServerHonor.Builder sb = super.takeInitBuilder();
        UserInfo userInfo = GameUser.getUserInfo(getUserId());
        sb.setUserName(userInfo.getUserName());
        sb.setLevel(userInfo.getLevel());
        return sb;
    }
}
